package com.tencent.iov.cowin.befsale.clue.value.contants;

/**
 * redis key
 */
public class RedisKeyConst {
    public static final String PREFIX = "scrm:";

    public static final String PROJECT_PREFIX = "clue:";

    public static final String CLUE_RECORD = "clue_record:";
    public static final String TOMQ = "to_mq";
    public static final String VIEW = "view";
    public static final String OLA_DATA = "old_data:";

    public static final String ALL_CLUE_RECORD_KEY = PREFIX + PROJECT_PREFIX + CLUE_RECORD;
    public static final String ALL_CLUE_TOMQ_KEY = PREFIX + PROJECT_PREFIX + TOMQ;
    public static final String ALL_CLUE_VIEW_KEY = PREFIX + PROJECT_PREFIX + VIEW;
    public static final String ALL_CLUE_OLD_DATA_KEY = PREFIX + PROJECT_PREFIX + OLA_DATA;

    public static final String REDISSON_CLUE_KEY = "scrm:lock:clue:%s";

    public static final String REDISSON_CLUE_RECORD_KEY = "scrm:lock:clue_record:%s";
}
